package com.webchat.pgc.repository.entity.mall;


import com.webchat.pgc.repository.entity.BaseEntity;
import jakarta.persistence.Column;
import jakarta.persistence.Entity;
import jakarta.persistence.GeneratedValue;
import jakarta.persistence.GenerationType;
import jakarta.persistence.Id;
import jakarta.persistence.Table;
import lombok.Data;

/**
 * 店铺自定义销售属性
 */
@Data
@Entity
@Table(name = "web_chat_mall_shop_property")
public class MallShopProperty extends BaseEntity {

    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    protected Long id;

    /**
     * 状态
     */
    @Column(name = "shopId")
    private Long shopId;

    /**
     * 关联销售属性id
     */
    @Column(name = "property_name_id")
    private Long propertyNameId;

}
